include(../install_paths.pri)
include(../PluginInterface/PluginInterface.pri)

#! [0]
TEMPLATE      = lib
CONFIG       += plugin static
CONFIG       += debug_and_release
TARGET        = $$qtLibraryTarget(kanvas_standardtoolsplugin)
DESTDIR       = $$LIB_PATH

HEADERS       += \
    BrushTool.h \
    KanvasStandardPlugin.h \
    RectangleTool.h \
    EllipseTool.h \
    RoundedRectangleTool.h \
    FreeFormTool.h \
    EraserTool.h
SOURCES       += \
    BrushTool.cpp \
    KanvasStandardPlugin.cpp \
    RectangleTool.cpp \
    EllipseTool.cpp \
    RoundedRectangleTool.cpp \
    FreeFormTool.cpp \
    EraserTool.cpp \
    EraserTool.cpp
#! [0]

# install
target.path = $$PLUGIN_PATH

LIBS += -L$$LIB_PATH
CONFIG(debug, debug|release){

    LIBS += -lLibKanvasd
}
else {
    LIBS += -lLibKanvas
}

INSTALLS += target

#include(../kanvaslib.pri)

RESOURCES += \
    kanvasStandardPlugin.qrc
